<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<html>
<head>
    <title>修改密码</title>
</head>
<style>
    *{
        margin: 0;
        padding: 0;
    }
    .head{
        margin: 10px 0px 10px 150px;
    }
    .body{
        background-image: url("img/background.jpg");
        background-size: 100%;
        width: 100%;
        height: 700px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    h1{
        margin: 10px 10px 40px 10px;
        color: #1F3654;
    }
    .logon{
        width: 800px;
        height: 500px;
        opacity: 0.9;
        background-color: white;
        display: flex;
    }
    .email{
        width: 350px;
        height: 50px;
        margin: 20px 10px 30px 10px;
    }
    .code{
        width: 350px;
        height: 50px;
        margin: 20px 10px 10px 10px;
    }
    .codebtn{
        width: 90px;
        height: 50px;
    }
    .submit{
        width: 370px;
        height: 50px;
        margin: 20px 10px 10px 10px;
        border: 0;
        background-color: #1F3654;
        color: white;
        font-size: 20px;
        cursor: pointer;
    }
    .inputdiv{
        margin: 80px 0px 0px 60px;
    }
    .footer{
        font-size: 13px;
        color: darkgrey;
        margin-top: 10px;
    }
    hr{
        margin: 10px;
    }
    span{
        margin-bottom: 5px;
    }
    span:hover{
        cursor: pointer;
        color: grey;
    }
    .book{
        margin: 150px 0px 0px 20px;
        width: 300px;
    }

    /*input*/
    .input-container {
        position: relative;
    }

    .input {
        padding: 10px;
        height: 40px;
        border: 2px solid #0B2447;
        border-top: none;
        border-bottom: none;
        font-size: 16px;
        background: transparent;
        outline: none;
        box-shadow: 7px 7px 0px 0px #0B2447;
        transition: all 0.5s;
    }

    .input:focus {
        box-shadow: none;
        transition: all 0.5s;
    }

    .label {
        position: absolute;
        top: 10px;
        left: 10px;
        color: #0B2447;
        transition: all 0.5s;
        transform: scale(0);
        z-index: -1;
    }

    .input-container .topline {
        position: absolute;
        content: "";
        background-color: #0B2447;
        width: 0%;
        height: 2px;
        right: 0;
        top: 0;
        transition: all 0.5s;
    }

    .input-container input[type="text"]:focus ~ .topline {
        width: 35%;
        transition: all 0.5s;
    }

    .input-container .underline {
        position: absolute;
        content: "";
        background-color: #0B2447;
        width: 0%;
        height: 2px;
        right: 0;
        bottom: 0;
        transition: all 0.5s;
    }

    .input-container input[type="text"]:focus ~ .underline {
        width: 100%;
        transition: all 0.5s;
    }

    .input-container input[type="text"]:focus ~ .label {
        top: -10px;
        transform: scale(1);
        transition: all 0.5s;
    }
</style>
<body>
<div class="head"><img src="img/bdqnlogo.gif"> </div>
<div class="body">
    <div class="logon">
        <form method="post" name="loginform" action="UpdatePwdServlet" onsubmit="return checkPw()">
            <div class="inputdiv">
                <h1>请设置您的新密码</h1>
                <div class="input-container">
                    <input type="text" class="input email" name="upwd" id="upwd">
                    <label class="label">请输入您的新密码</label>
                </div>
                <div class="input-container">
                    <input type="text" class="input code" name="upwd2" id="upwd2">
                    <label class="label">请确认您的新密码</label>
                </div>
                <div><input class="submit" type="submit" value="提交" onclick="checkPw(event)"></div>
            </div>
        </form>
        <div><img src="img/book.jpg" class="book"> </div>
    </div>
</div>
<div class="footer" align="center">
    <span>帮助中心</span>|<span>联系我们</span>|<span>网站地图</span>|<span>北大青鸟官方网站</span>
    <hr/>
    <span>Copyright 1999-2020</span><br/>
    <span>北京青鸟职业教育科技发展有限公司 版权所有</span><br/>
    <span>京ICP备2020047077号-2  <img src="img/hui.png"> 京公网安备 11010802020714号</span>
</div>
<script src="js/forgotPwd.js?v=1"></script>
</body>
</html>
